<div class="bg-light lter b-b wrapper-md">
      <div class="row">
        <div class="col-sm-6 col-xs-12">
          <h1 class="m-n font-thin h3 text-black"><i class="icon icon-home"></i>&nbsp;主页</h1>
          <small class="text-muted">报名总览</small>
        </div>
        <div class="col-sm-6 text-right hidden-xs">
          <div class="m-r">
            
            <small class="text-muted">总报名人数</small>
            <h1 class="m-n font-thin h3 text-black font-thin text-primary">{{sum}}</h1>
          </div>
          
        </div>
      </div>
    </div>
<!-- stats -->
<div class="hbox">
  <div class="col">
  <div class="wrapper" cg-busy="{promise:loadingMain,message:'正在加载...'}">
      <div class="row">

    <div class="col-md-3 col-xs-4" ng-repeat="item in groups" ng-if="item.totalCount > 0">

          <div class="panel">
      <div class="panel-heading no-border b-b b-light">
      <span class="font-bold">{{item.groupName}}</span>
      </div>
      <div class="wrapper text-center">
        
        <span class="chart" easypiechart options="options" percent="item.percent">
          <span class="percent" ng-bind="item.percent"></span>
        </span>
      </div>
      <div class="hbox">
        <div class="col wrapper bg-light lter text-center">
          <span>已报名人数</span>
          <div class="h2 text-primary">
            {{item.signedCount}}
          </div>
        </div>
        <div class="col wrapper bg-light lter text-center">
          <span>报名卡总数</span>
          <div class="h2 text-info">
            {{item.totalCount}}
          </div>
        </div>
      </div>
    </div>
    </div>
  </div>
    </div>
    </div>

    <!-- right col -->
  <div class="col w-md bg-white bg-auto">
    <div class="wrapper" cg-busy="{promise:loading,message:'正在加载...'}">
      <div class="m-b text-md"><a class="text-info" ui-sref="sc.list">待生成的报名卡</a><span class="badge bg-info badge-sm m-l">{{tasks.length}}</span></div>
      <ul class="list-group no-bg no-borders  pull-in">
        <li class="list-group-item b-b b-light" ng-repeat="item in tasks">
          
          <div class="clear">
            <div><a href>{{item.signPoint.groupName}}</a></div>
            <small class="text-muted">{{item.examType.name+' '+item.subject.name+' '+item.totalCount+'人'}}</small>
          </div>
        </li>
        
      </ul>
    </div>
  </div>
  <!-- / right col -->
  </div>
      <!-- / stats -->